#ifndef __HW0038_H__
#define __HW0038_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "stm32f0xx_hal.h"
#include "main.h"

#define HW_Zero 	1
#define HW_Cali 	2
#define HW_Set	 	3
#define HW_LEFT 	4
#define HW_Consult 	5	
#define HW_RIGHT 	6
#define HW_Enter 	7	
#define HW_0		8
#define HW_Back		9
#define HW_1 		10
#define HW_2 		11
#define HW_3 		12
#define HW_4 		13
#define HW_5 		14
#define HW_6 		15
#define HW_7 		16
#define HW_8 		17
#define HW_9 		18

void bit_change(uint16_t num[],uint8_t bit[]);
uint8_t hw_scanf(uint8_t num[]);

#ifdef __cplusplus
}
#endif
#endif /*__HW_0038_H__ */

